/**
 * Alipay.com Inc.
 * Copyright (c) 2004-2013 All Rights Reserved.
 */
package com.losenote.model;

import java.sql.Date;
import java.util.List;
import com.losenote.enums.DataStateEnum;

/**
 * 招领告示
 * 
 * @author jingyu.dan
 * @version $Id: FindNote.java, v 0x.1 2013-8-28 下午05:14:14 jingyu.dan Exp $
 */
public class FindNote extends BaseModel {

    private static final long serialVersionUID = -6113958927896943341L;

    /**ID*/
    private int               id;

    /**告示名称*/
    private String            title;

    /**拾到地方*/
    private String            findAddress;

    /**拾到时间*/
    private Date              findDate;

    /**物品类目*/
    private CategoryItem      categoryItem;

    /**联系人外键**/
    private ContactDetail     contactDetail;

    /**有效期*/
    private Date              effectiveDate;

    /**findnote内容*/
    private String            content;

    /**信息编辑密码*/
    private String            passwd;

    /**数据状态*/
    private DataStateEnum     state;

    /**关联文件*/
    private List<AttachFile>  attachFiles;

    /**计数器*/
    private Integer           counter;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getFindAddress() {
        return findAddress;
    }

    public void setFindAddress(String findAddress) {
        this.findAddress = findAddress;
    }

    public Date getFindDate() {
        return findDate;
    }

    public void setFindDate(Date findDate) {
        this.findDate = findDate;
    }

    public CategoryItem getCategoryItem() {
        return categoryItem;
    }

    public void setCategoryItem(CategoryItem categoryItem) {
        this.categoryItem = categoryItem;
    }

    public Date getEffectiveDate() {
        return effectiveDate;
    }

    public void setEffectiveDate(Date effectiveDate) {
        this.effectiveDate = effectiveDate;
    }

    public String getPasswd() {
        return passwd;
    }

    public void setPasswd(String passwd) {
        this.passwd = passwd;
    }

    public DataStateEnum getState() {
        return state;
    }

    public void setState(DataStateEnum state) {
        this.state = state;
    }

    public Integer getCounter() {
        return counter;
    }

    public void setCounter(Integer counter) {
        this.counter = counter;
    }

    public void setContactDetail(ContactDetail contactDetail) {
        this.contactDetail = contactDetail;
    }

    public ContactDetail getContactDetail() {
        return contactDetail;
    }

    public List<AttachFile> getAttachFiles() {
        return attachFiles;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public void setAttachFiles(List<AttachFile> attachFiles) {
        this.attachFiles = attachFiles;
    }

}
